//
//  LXClientDetailTableViewCell.m
//  跑跑快销
//
//  Created by linxian on 14-5-7.
//  Copyright (c) 2014年 ylife. All rights reserved.
//

#import "LXClientDetailTableViewCell.h"

@implementation LXClientDetailTableViewCell
@synthesize titleLabel, msgField, industryImg, armImg;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        [self drawCell];
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code
}
-(void)drawCell
{
    // 标题
    titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, 2, 40, 40)];
    titleLabel.textColor = [UIColor blackColor];
    titleLabel.backgroundColor = [UIColor grayColor];
    titleLabel.font = [UIFont systemFontOfSize:13];
    [self addSubview:titleLabel];
    
    // 图标
    industryImg = [[UIImageView alloc] init];
    industryImg.backgroundColor = [UIColor brownColor];
    [self addSubview:industryImg];
    
    // 地址
    msgField = [[UITextField alloc] init];
    msgField.textColor = [UIColor blackColor];
    msgField.backgroundColor = [UIColor grayColor];
    msgField.font = [UIFont systemFontOfSize:13];
    [self addSubview:msgField];
    
    // 箭头图标
    armImg = [[UIImageView alloc] initWithFrame:CGRectMake(280, 0, 40, 40)];
    armImg.backgroundColor = [UIColor clearColor];
    [self addSubview:armImg];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
